package com.scada.hessian.client.impl;

import java.util.List;
import java.util.Map;

import com.scada.inf.MenuVisitor;
import com.scada.model.bean.SysMenu;
import com.scada.model.bean.vo.MenuVO;
import com.scada.model.result.ResponseBean;
import com.scada.wechat.hessian.client.BaseClient;
import com.scada.wechat.hessian.client.annotation.HessianNamespace;

@HessianNamespace("menuVisitorService")
public class MenuVisitorClient extends BaseClient<MenuVisitor> implements MenuVisitor {

	public List<MenuVO> selectMenuList(Map<String, Object> map) {
		
		return getVistor().selectMenuList(map);
	}

	public List<SysMenu> selectMenuIsleaf(Map<String, Object> map) {
		
		return getVistor().selectMenuIsleaf(map);
	}

	public List<SysMenu> findLeftMenuByUser(Integer userId) {
		
		return getVistor().findLeftMenuByUser(userId);
	}

	public List<MenuVO> findLeftMenuById(Integer userId, Integer id) {
		
		return getVistor().findLeftMenuById(userId, id);
	}

	public List<SysMenu> selectAllData(int state) {
		
		return getVistor().selectAllData(state);
	}

	public ResponseBean selectAllMenuAndPermission() {
		
		return getVistor().selectAllMenuAndPermission();
	}

}
